home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / CIncludes / OCEErrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-12  |  18.4 KB  |  380 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        OCEErrors.h
  3.  
  4.      Contains:    Apple Open Collaboration Environment Error Interfaces.
  5.  
  6.      Version:    Technology:    AOCE Toolbox 1.02
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    Â© 1994-1997 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18. #ifndef __OCEERRORS__
  19. #define __OCEERRORS__
  20.  
  21. #ifndef __ERRORS__
  22. #include <Errors.h>
  23. #endif
  24.  
  25.  
  26.  
  27. #if PRAGMA_ONCE
  28. #pragma once
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. #if PRAGMA_IMPORT
  36. #pragma import on
  37. #endif
  38.  
  39. #if PRAGMA_STRUCT_ALIGN
  40.     #pragma options align=mac68k
  41. #elif PRAGMA_STRUCT_PACKPUSH
  42.     #pragma pack(push, 2)
  43. #elif PRAGMA_STRUCT_PACK
  44.     #pragma pack(2)
  45. #endif
  46.  
  47. /*
  48. Allocated ranges:
  49.     AOCE General Errors                        -1500 to -1539
  50.     AOCE Authentication Errors                -1540 to -1609
  51.     AOCE Catalog Errors                        -1610 to -1680
  52.     
  53.     AOCE Standard Mail Errors                -1900 to -1949
  54.     AOCE Standard Catalog Errors            -1950 to -1969
  55.     AOCE Digital Signature Errors            -1970 to -1999
  56.  
  57.     AOCE Templates Errors                    -15000 to -15039
  58.     AOCE Mail Errors                        -15040 to -15089
  59.     AOCE Messaging Errors                    -15090 to -15169
  60.     Reserved for future                        -15170 to -15199
  61. */
  62.  
  63. /* AOCE General Errors (-1500 to -1539) */
  64.  
  65. enum {
  66.     kOCEToolboxNotOpen            = -1500,                        /* Toolbox not open; perhaps its closing */
  67.     kOCEInvalidCommand            = -1501,                        /* Request code passed to a trap call is invalid */
  68.     kOCEInvalidRef                = -1502,                        /* a reference to an object is obsolete or invalid */
  69.     kOCEBufferTooSmall            = -1503,                        /* the buffer supplied is too small for the task */
  70.     kOCEVersionErr                = -1504,                        /* some manner of software version mismatch */
  71.     kOCESyncAsyncErr            = -1505,                        /* Op tried synchronously may only be done async, or vice versa */
  72.     kOCEInternalErr                = -1506,                        /* the OCE toolbox has an internal error */
  73.     kOCENotAnOwner                = -1507,                        /* this operation can only be done by the object's owner */
  74.     kOCENotImplemented            = -1508,                        /* Feature not implemented */
  75.     kOCENotAuthenticated        = -1509,                        /* The user must be authenticated */
  76.     kOCEAlreadyExists            = -1510,                        /* The object being added already exists */
  77.     kOCEDoesntExist                = -1511,                        /* the object being referenced doesn't exist or cannot be found */
  78.     kOCEConnectionErr            = -1512,                        /* Unable to open or maintain a network transport */
  79.     kOCEConnectionClosed        = -1513,                        /* Connect has closed */
  80.     kOCEInvalidRecipient        = -1514,                        /* Invalid recipient/address for this command */
  81.     kOCEInvalidIndex            = -1515,                        /* invalid index (out of range) */
  82.     kOCERefIsClosing            = -1516,                        /* Object references is being closed, cannot complete command */
  83.     kOCEHasPendingMsgs            = -1517,
  84.     kOCEInvalidConfiguration    = -1518,
  85.     kOCERequiredServicesNotAvailable = -1519,
  86.     kOCEServerInactive            = -1520,
  87.     kOCEMoreDiskSpaceNeeded        = -1521,                        /* Inadequate disk space to safely complete operation */
  88.     kOCEParamErr                = paramErr                        /* invalid parameter passed to toolbox */
  89. };
  90.  
  91. /* AOCE Authentication Errors (-1540 to -1609) */
  92.  
  93. enum {
  94.     kOCEReadAccessDenied        = -1540,
  95.     kOCEWriteAccessDenied        = -1541,
  96.     kOCEAccessRightsInsufficient = -1542,                        /* stream needs to be authenticated, or not authorized, or someone other than agent trying to TPFC, or problem in server-to-server authentication */
  97.     kOCEUnsupportedCredentialsVersion = -1543,                    /* don't know how to read that version of credentials */
  98.     kOCECredentialsProblem        = -1544,                        /* couldn't successfully decrypt credentials */
  99.     kOCECredentialsImmature        = -1545,                        /* current time < first valid time */
  100.     kOCECredentialsExpired        = -1546,                        /* current time > expiry time */
  101.     kOCEProxyImmature            = -1547,                        /* current time < proxy start time */
  102.     kOCEProxyExpired            = -1548,                        /* current time > proxy expiry time */
  103.     kOCEDisallowedRecipient        = -1549,                        /* Recipient not specified in proxy */
  104.     kOCENoKeyFound                = -1550,                        /* found no key for entity in question */
  105.     kOCEPrincipalKeyNotFound    = -1551,                        /* couldn't decode proxy because principal has no key */
  106.     kOCERecipientKeyNotFound    = -1552,                        /* recipient has no key */
  107.     kOCEAgentKeyNotFound        = -1553,                        /* in TPFC, agent has no key */
  108.     kOCEKeyAlreadyRegistered    = -1554,                        /* entity already has a key */
  109.     kOCEMalformedKey            = -1555,                        /* key is of an unknown encryption method, or key doesn't match password */
  110.     kOCEUndesirableKey            = -1556,                        /* password too short, key too simple, or trying to change cluster key to the same value */
  111.     kOCEWrongIdentityOrKey        = -1557,                        /* In CheckIdentity, name doesn't exist or key is wrong */
  112.     kOCEInitiatorKeyProblem        = -1558,                        /* either we couldn't find the initiator's key or we found it but couldn't successfully decrypt instructions or proxy */
  113.     kOCEBadEncryptionMethod        = -1559,                        /* the specified encryption method is not supported */
  114.     kOCELocalIdentityDoesNotExist = -1560,                        /* LocalIdentity has to be setup */
  115.     kOCELocalAuthenticationFail    = -1561,                        /* LocalIdentity Login has to be done for this operation */
  116.     kOCELocalIdentitySetupExists = -1562,                        /* LocalIdentity setup exists, use change instead of setup */
  117.     kOCEDirectoryIdentitySetupExists = -1563,                    /* DirectoryIdentity setup exists, use change instead of setup */
  118.     kOCEDirectoryIdentitySetupDoesNotExist = -1564,                /* DirectoryIdentity setup does not exist */
  119.     kOCENotLocalIdentity        = -1565,                        /* Use LocalIdentity calls instead! */
  120.     kOCENoMoreIDs                = -1566,                        /* identity table is full */
  121.     kOCEUnknownID                = -1567,                        /* identity passed is not valid */
  122.     kOCEOperationDenied            = -1568,                        /* LocalID operation denied */
  123.     kOCEAmbiguousMatches        = -1569,                        /* ambiguous matches found in resolving CIDs (more than 1 CID) */
  124.     kOCENoASDSPWorkSpace        = -1570,                        /* No ASDSP workspace passed for Open Secure Stream */
  125.     kOCEAuthenticationTrouble    = -1571                            /* generic authentication problem */
  126. };
  127.  
  128. /* AOCE Catalog Errors (-1610 to -1680) */
  129.  
  130. enum {
  131.     kOCENotLocal                = -1610,                        /* the server does not serve the requested dNode */
  132.     kOCETooBusy                    = -1611,                        /* server cannot complete call at this time */
  133.     kOCEDatabaseFull            = -1612,                        /* disk is full */
  134.     kOCETargetDirectoryInaccessible = -1613,                    /* Catalog server not responding */
  135.     kOCEBogusArgs                = -1614,                        /* Args not formatted correctly on the wire */
  136.     kOCENoSuchDNode                = -1615,                        /* the requested dNode does not exist */
  137.     kOCEDNodeUnavailable        = -1616,                        /* could not find any servers that serve the requested dNode */
  138.     kOCEBadRecordID                = -1617,                        /* invalid RecordID (usually name and/or type don't match cid) */
  139.     kOCENoSuchRecord            = -1618,                        /* the specified record does not exist */
  140.     kOCENoSuchAttributeValue    = -1619,                        /* The attribute value that was passed in does not exist */
  141.     kOCENoSuchPseudonym            = -1620,                        /* the specified pseudonym does not exist */
  142.     kOCEAttributeValueTooBig    = -1621,                        /* self-explanatory */
  143.     kOCETypeExists                = -1622,                        /* The type already exists in the record */
  144.     kOCEMoreData                = -1623,                        /* only a warning - buffer not big enough */
  145.     kOCERefNumBad                = -1624,                        /* RefNum is not valid */
  146.     kOCEStreamCreationErr        = -1625,                        /* problem creating stream */
  147.     kOCEOperationNotSupported    = -1626,                        /* the specified catalog does not support this operation */
  148.     kOCEPABNotOpen                = -1627,                        /* specified Personal Catalog is not open to make the operation */
  149.     kOCEDSAMInstallErr            = -1628,                        /* specified CSAM could not be installed */
  150.     kOCEDirListFullErr            = -1629,                        /* catalog list is full, try removing an entry */
  151.     kOCEDirectoryNotFoundErr    = -1630,                        /* catalog was not found in the list */
  152.     kOCEAbortNotSupportedForThisCall = -1631,                    /* this call cannot be aborted */
  153.     kOCEAborted                    = -1632,                        /* this call was aborted */
  154.     kOCEOCESetupRequired        = -1633,                        /* LocalIdentity Setup is required */
  155.     kOCEDSAMRecordNotFound        = -1634,                        /* CSAM Record not found */
  156.     kOCEDSAMNotInstantiated        = -1635,                        /* CSAM is not instantiated */
  157.     kOCEDSAMRecordExists        = -1636,                        /* CSAM record already exists */
  158.     kOCELengthError                = -1637,                        /* supplied buffer was too small */
  159.     kOCEBadStartingRecord        = -1638,                        /* Lookup starting record is not within range */
  160.     kOCEBadStartingAttribute    = -1639,                        /* Lookup starting attribute is not within range */
  161.     kOCEMoreAttrValue            = -1640,                        /* attribute value could not fit into buffer (even though it was the only value) */
  162.     kOCENoDupAllowed            = -1641,
  163.     kOCENoSuchAttributeType        = -1642,
  164.     kOCEMiscError                = -1643,                        /* some other error */
  165.     kOCENoSuchIcon                = -1644,                        /* no matching icon from GetDirectoryIcon */
  166.     kOCERLIsDontMatch            = -1645,                        /* RLIs do not match in lookup */
  167.     kOCEDirectoryCorrupt        = -1646                            /* Serious disk fill corruption problem */
  168. };
  169.  
  170. /* AOCE Standard Mail Errors (-1900 to -1949) */
  171.  
  172. enum {
  173.     kSMPNotEnoughMemoryForAllRecips = -1900,
  174.     kSMPCopyInProgress            = -1901,
  175.     kSMPMailerNotInitialized    = -1902,
  176.     kSMPShouldNotAddContent        = -1903,
  177.     kSMPMailboxNotFound            = -1904,
  178.     kSMPNoNextLetter            = -1905,
  179.     kSMPHasOpenAttachments        = -1906,
  180.     kSMPFinderNotRunning        = -1907,
  181.     kSMPCommandDisabled            = -1908,
  182.     kSMPNoMailerInWindow        = -1909,
  183.     kSMPNoSuchAddress            = -1910,
  184.     kSMPMailerAlreadyInWindow    = -1911,
  185.     kSMPMailerUneditable        = -1912,
  186.     kSMPNoMatchingBegin            = -1913,
  187.     kSMPCannotSendReceivedLetter = -1914,
  188.     kSMPIllegalForDraftLetter    = -1915,
  189.     kSMPMailerCannotExpandOrContract = -1916,
  190.     kSMPMailerAlreadyExpandedOrContracted = -1917,
  191.     kSMPIllegalComponent        = -1918,
  192.     kSMPMailerAlreadyNotTarget    = -1919,
  193.     kSMPComponentIsAlreadyTarget = -1920,
  194.     kSMPRecordDoesNotContainAddress = -1921,
  195.     kSMPAddressAlreadyInList    = -1922,
  196.     kSMPIllegalSendFormats        = -1923,
  197.     kSMPInvalidAddressString    = -1924,
  198.     kSMPSubjectTooBig            = -1925,
  199.     kSMPParamCountErr            = -1926,                        /*  enclosure count != 1, while sendEnclosure Only == true. */
  200.     kSMPTooManyPages            = -1927,                        /*  Exceeding the image page limit. */
  201.     kSMPTooManyEnclosures        = -1928
  202. };
  203.  
  204. /* AOCE Standard Catalog Errors (-1950 to -1969) */
  205.  
  206. enum {
  207.     kSDPNoSearchText            = -1950,
  208.     kSDPTooManyLoginAttempts    = -1951,
  209.     kSDPNoSelection                = -1952,
  210.     kSDPPersonalDirectoryRepairFailed = -1953
  211. };
  212.  
  213. /* AOCE Digital Signature Errors (-1970 to -1999) */
  214.  
  215. enum {
  216.     kSIGOperationIncompatibleErr = -1970,                        /* context in use for different type of operation */
  217.     kSIGCertificateQueryDenied    = -1971,                        /* can't query certificates with this context */
  218.     kSIGVerifyFailedErr            = -1972,                        /* verification failed */
  219.     kSIGInvalidCredentialErr    = -1973,                        /* verified OK but credential out of date,  either pending or expired */
  220.     kSIGIndexErr                = -1974,                        /* the index given is outside the range of allowable values */
  221.     kSIGSignerErr                = -1975,                        /* problem with the signer or signature itself */
  222.     kSIGPasswordErr                = -1976,                        /* password is incorrect */
  223.     kSIGInternalsErr            = -1977,                        /* an internal error occurred like a bad digest, context or signature */
  224.     kSIGToolboxNotPresentErr    = -1978,                        /* for client services (ie servers) to report back - not retruned by the TB */
  225.     kSIGContextPrepareErr        = -1979,                        /* context either prepared with VerifyPrepare, SignPrepare or DigestPrepare already or has been corrupted */
  226.     kSIGNoDigestErr                = -1980,                        /* no digest in the signature */
  227.     kSIGConversionErr            = -1981,                        /* unabled to convert an attribute to Mac format */
  228.     kSIGSignerNotValidErr        = -1982,                        /* Signer has either expired or is pending and can not sign */
  229.     kSIGNoSignature                = -1983                            /* standard file signature not found */
  230. };
  231.  
  232. /* AOCE Templates Errors (-15000 to -15039) */
  233.  
  234. enum {
  235.     kDETInvalidTargetAspectName    = -15000,                        /* Could not locate an aspect by name */
  236.     kDETInvalidTargetItemNumber    = -15001,                        /* Item number is target invalid (out of range 1..<number of children>) */
  237.     kDETInvalidTargetFromNonAspect = -15002,                    /* Target selection relative to non-aspect object which requires an aspect */
  238.     kDETInvalidTargetDSSpec        = -15003,                        /* Target DSSpec could not be resolved */
  239.     kDETUnknownTargetSelector    = -15004,                        /* Unknown selector type for target specification */
  240.     kDETInvalidTarget            = -15005,                        /* Target specification was invalid (for reasons other than those above) */
  241.     kDETTargetNotAnAspect        = -15006,                        /* Specified target object was not an aspect */
  242.     kDETInvalidCommandItemNumber = -15007,                        /* Command item number invalid (out of range 1..<number of items in selection>) */
  243.     kDETUnableToGetCommandItemSpec = -15008,                    /* Unable to retrieve item specification (internal error, possibly out of memory) */
  244.     kDETRequestedTypeUnavailable = -15009,                        /* Command item could not be represented in the form requested */
  245.     kDETInvalidDSSpec            = -15010,                        /* Could not resolve DSSpec (other than in target; see error above for targets) */
  246.     kDETUnableToAccessProperty    = -15011,                        /* Property could not be found and/or created */
  247.     kDETInfoPageNotOpen            = -15012,                        /* Info-page not open; request requires an open info-page */
  248.     kDETNoSuchView                = -15013,                        /* No view found with specified property number */
  249.     kDETCouldNotAddMenuItem        = -15014,                        /* Could not add item to dynamic menu */
  250.     kDETCouldNotRemoveMenuItem    = -15015,                        /* Could not remove item from dynamic menu */
  251.     kDETCouldNotFindMenuItem    = -15016,                        /* Could not find menu item */
  252.     kDETCouldNotFindCustomView    = -15017,                        /* Could not find custom view in info-page */
  253.     kDETInvalidReqFunction        = -15018,                        /* Invalid call-back request function */
  254.     kDETInvalidCallBack            = -15019,                        /* Invalid call-back (for reasons other than those above) */
  255.     kDETPropertyBusy            = -15020                        /* Edit is open on the property being set */
  256. };
  257.  
  258. /* AOCE Mail Errors (-15040 to -15089) */
  259.  
  260. enum {
  261.     kMailInvalidOrder            = -15040,                        /* This object has already been written to and cannot be written again */
  262.                                                                 /* handle non-zero offsets for now */
  263.     kMailInvalidSeqNum            = -15041,                        /* Invalid letter sequence o refers to an non–existent letter */
  264.     kMailAttrNotInHdr            = -15042,                        /* attribute does not exist in this letter header */
  265.     kMailHdrAttrMissing            = -15043,                        /* required attribute not written into letter header */
  266.     kMailBadEnclLengthErr        = -15044,                        /* incorrect number of bytes has been written after memForm of PutEnclosure */
  267.     kMailInvalidRequest            = -15045,                        /* cannot putAttr for report, putRcptReport for letter */
  268.     kMailInvalidPostItVersion    = -15046,                        /* cannot create new postit with this version */
  269.     kMailNotASlotInQ            = -15047,                        /* queueID does not refer to a slot's incoming queue */
  270.     kMailLtrNotOpen                = -15048,                        /* letter is not open, probably not cached in inQ */
  271.     kMailMissingMailCat            = -15049,                        /* trying to create message in inq, with no postIt */
  272.     kMailCannotWriteMailCat        = -15050,                        /* cannot update a mail catentry */
  273.     kMailTooManyTagsPerLetter    = -15051,                        /* cannot add more than kMaxTagsPerLetter tags */
  274.     kMailGwyDead                = -15052,                        /* MSAM died */
  275.     kMailIgnoredErr                = -15053,                        /* ePPC message was ignored */
  276.     kMailLengthErr                = -15054,                        /* ePPC message did not complete */
  277.     kMailTooManyErr                = -15055,                        /* Too many = request outstanding, */
  278.     kMailNoMSAMErr                = -15056,                        /* no MSAMs found in mailbox! or for command */
  279.     kMailCancelled                = -15057,
  280.     kMailSlotSuspended            = -15058,
  281.     kMailMSAMSuspended            = -15059,
  282.     kMailBadSlotInfo            = -15060,
  283.     kMailMalformedContent        = -15061,                        /* a mailed structure is malformed */
  284.     kMailNoSuchSlot                = -15062,                        /* no such slot */
  285.     kMailBadLtrInfo                = -15063,                        /* bad info there, can't change */
  286.     kMailSetFailed                = -15064,                        /* could not set letter info */
  287.     kMailBadConfig                = -15065,                        /* MSAM has bad config info */
  288.     kMailBadMSAM                = -15066,                        /* bad MSAM: not usable = reason unspec, */
  289.     kMailCannotLkupServerSlots    = -15067,                        /* cannot lookup adas for server mail slots */
  290.     kMailBadState                = -15068                        /* the state specifiy is not in any of defined */
  291. };
  292.  
  293. /* AOCE Messaging Errors (-15090 to -15169) */
  294.  
  295. enum {
  296.     kIPMCantCreateIPMCatEntry    = -15090,
  297.     kIPMInvalidMsgType            = -15091,                        /* bad msg hint */
  298.     kIPMInvalidProcHint            = -15092,                        /* bad proc hint */
  299.     kIPMInvalidOffset            = -15093,                        /* bad offset for read/write */
  300.     kIPMUpdateCatFailed            = -15094,
  301.     kIPMMsgTypeReserved            = -15095,
  302.     kIPMNotInABlock                = -15096,
  303.     kIPMNestedMsgOpened            = -15097,
  304.     kIPMA1HdrCorrupt            = -15098,
  305.     kIPMCorruptDataStructures    = -15099,
  306.     kIPMAbortOfNestedMsg        = -15100,
  307.     kIPMBlockIsNotNestedMsg        = -15101,
  308.     kIPMCacheFillError            = -15102,
  309.     kIPMInvalidSender            = -15103,
  310.     kIPMNoRecipientsYet            = -15104,
  311.     kIPMInvalidFilter            = -15105,
  312.     kIPMAttrNotInHdr            = -15106,
  313.     kIPMBlkNotFound                = -15107,
  314.     kIPMStreamErr                = -15108,                        /* Error on stream (should this ever go out?) */
  315.     kIPMPortClosed                = -15109,                        /* Port closed (should this ever go out?) */
  316.     kIPMBinBusy                    = -15110,
  317.     kIPMCorruptedBin            = -15111,
  318.     kIPMBadQName                = -15112,
  319.     kIPMEndOfBin                = -15113,
  320.     kIPMBinNeedsConversion        = -15114,
  321.     kIPMMgrInternalErr            = -15115,
  322.     kIPMEltBusy                    = -15116,
  323.     kIPMEltClosedNotDeleted        = -15117,
  324.     kIPMBadContext                = -15118,
  325.     kIPMContextIsClosing        = -15119,
  326.     kIPMeoQ                        = -15120,
  327.     kIPMQOutOfSpace                = -15121,
  328.     kIPMEltNotFound                = -15122,
  329.     kIPMBinOutOfSpace            = -15123,
  330.     kIPMeoCatEntry                = -15124,
  331.     kIPMeoElt                    = -15125,
  332.     kIPMQBusy                    = -15126,
  333.     kIPMNotSameBin                = -15127,
  334.     kIPMNoMoreServices            = -15128,
  335.     kIPMLookupAttrTooBig        = -15129,                        /* attribute in lookup is too big */
  336.     kIPMUnknownUAM                = -15130,
  337.     kIPMUnsupportedLogin        = -15131,
  338.     kIPMLogInUnknown            = -15132,
  339.     kIPMNoMoreFilters            = -15133,
  340.     kIPMCouldNotReadInfoReply    = -15134,
  341.     kIPMInvalidUser                = -15135,
  342.     kIPMNoMoreSessions            = -15136,
  343.     kIPMNilUserProc                = -15137,
  344.     kIPMBadCatSize                = -15138,
  345.     kIPMIncompleteMsg            = -15139,
  346.     kIPMNoResponsibleTunnel        = -15140,
  347.     kIPMAccessDenied            = -15141,
  348.     kIPMReplyParamUnderrun        = -15142,                        /* Too few reply parameters */
  349.     kIPMReplyParamOverrun        = -15143,                        /* Too many reply parameters */
  350.     kIPMRequestParamUnderrun    = -15144,                        /* Too few request parameters */
  351.     kIPMOutOfSync                = -15145,                        /* Protocol sync. error */
  352.     kIPMNoAttrsFound            = -15146,                        /* couldn't find any attrs in lookup */
  353.     kIPMWrongAttrTag            = -15147,                        /* wrong attr tag in adas lookup */
  354.     kIPMNullCID                    = -15148,                        /* null cid in enumerate */
  355.     kIPMBadMailSlotAttrVal        = -15149                        /* invalid mailslot attr value */
  356. };
  357.  
  358.  
  359.  
  360. #if PRAGMA_STRUCT_ALIGN
  361.     #pragma options align=reset
  362. #elif PRAGMA_STRUCT_PACKPUSH
  363.     #pragma pack(pop)
  364. #elif PRAGMA_STRUCT_PACK
  365.     #pragma pack()
  366. #endif
  367.  
  368. #ifdef PRAGMA_IMPORT_OFF
  369. #pragma import off
  370. #elif PRAGMA_IMPORT
  371. #pragma import reset
  372. #endif
  373.  
  374. #ifdef __cplusplus
  375. }
  376. #endif
  377.  
  378. #endif /* __OCEERRORS__ */
  379.  
  380.